package com.spzx.product.vo;

import com.spzx.common.core.web.domain.BaseEntity;
import com.spzx.product.api.vo.ProductSkuVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "商品Vo")
@Data
public class ProductVo extends BaseEntity {

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "品牌ID")
    private Long brandId;

    @Schema(description = "一级分类id")
    private Long category1Id;

    @Schema(description = "二级分类id")
    private Long category2Id;

    @Schema(description = "三级分类id")
    private Long category3Id;

    @Schema(description = "计量单位")
    private String unitName;

    @Schema(description = "轮播图")
    private String sliderUrls;

    @Schema(description = "商品规格json")
    private String specValue;

    @Schema(description = "线上状态：0-初始值，1-上架，-1-自主下架")
    private Integer status;

    @Schema(description = "品牌名称")
    private String brandName;

    @Schema(description = "一级分类")
    private String category1Name;

    @Schema(description = "二级分类")
    private String category2Name;

    @Schema(description = "三级分类")
    private String category3Name;

    @Schema(description = "商品sku列表")
    private List<ProductSkuVo> productSkuVoList;

    @Schema(description = "详情图片列表")
    private List<String> detailsImageUrlList;

}
